<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:38:"../template/5ihelp/index\question.html";i:1478566141;s:37:"../template/5ihelp/public\header.html";i:1478566144;s:37:"../template/5ihelp/public\footer.html";i:1478566144;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<meta name="renderer" content="webkit" />
<title>5ihelp</title>
<meta name="keywords" content="" />
<meta name="description" content=""  />
<!-- <base href="http://git.cooldreamer.com/ask/?/" /> -->
<!-- <link href="http://git.cooldreamer.com/ask/static/css/default/img/favicon.ico?v=20160523" rel="shortcut icon" type="image/x-icon" /> -->

<link rel="stylesheet" type="text/css" href="/static/5iask/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/static/5iask/css/icon.css" />
<link href="/static/5iask/css/default/common.css?v=<?php echo time(); ?>" rel="stylesheet" type="text/css" />
<link href="/static/5iask/css/default/link.css?v=<?php echo time(); ?>" rel="stylesheet" type="text/css" />
<link href="/static/5iask/js/plug_module/style.css?v=<?php echo time(); ?>" rel="stylesheet" type="text/css" />
<script src="/static/5iask/js/jquery.2.js?v=<?php echo time(); ?>" type="text/javascript"></script>
<script src="/static/5iask/js/jquery.form.js?v=<?php echo time(); ?>" type="text/javascript"></script>
<script type="text/javascript" src="/static/plus/js/bootstrap.min.js?v=<?php echo time(); ?>"></script>

 <script src="/static/plus/js/plugins/layer/layer.js"></script>
   <!-- //公共的JS-FUNCTION函数 -->
   <script src="/static/cmz/PublicVlidate.js" type="text/javascript"></script>
   <script src="/static/cmz/Models.js" type="text/javascript"></script>
   <!-- //JS 控制器处理  -->
   <script src="/static/cmz/action.js" type="text/javascript"></script>

   <script src="/static/cmz/install.js" type="text/javascript"></script>
   <script src="/static/plus/js/jquery.zclip.min.js" type="text/javascript"></script>

    <script type="text/javascript">
    // layer.config(
    //     extend: ['skin/moon/style.css'], //加载新皮肤
    //     skin: 'layer-ext-moon' //一旦设定，所有弹层风格都采用此主题。
    // );

    </script>
<!--[if lte IE 8]>
	<script type="text/javascript" src="/static/5iask/js/respond.js"></script>
<![endif]-->
</head>

<body>
	<div class="aw-top-menu-wrap">
		<div class="container">
			<!-- logo -->

			<div class="aw-logo hidden-xs">
				<a href="/"><img style="position: relative;top:-2px;left:10px;" src="/static/images/logo/thinkask_logo_black.png" height="45" alt=""></a>
			</div>
			<!-- end logo -->
			<!-- 搜索框 -->
			<div class="aw-search-box  hidden-xs hidden-sm">
				<form class="navbar-search" action="search/" id="global_search_form" method="post">
					<input class="form-control search-query" type="text" placeholder="搜索问题、话题或人" autocomplete="off" name="q" id="aw-search-query" />
					<span title="搜索" id="global_search_btns" ><i class="icon icon-search"></i></span>
					<div class="aw-dropdown">
						<div class="mod-body">
							<p class="title">输入关键字进行搜索</p>
							<ul class="aw-dropdown-list collapse"></ul>
							<p class="search"><span>搜索:</span><a ></a></p>
						</div>
						<div class="mod-footer" style="display:none;">
							<a href=""  class="pull-right btn btn-mini btn-success publish">发起问题</a>
						</div>
					</div>
				</form>
			</div>
			<!-- end 搜索框 -->
			<!-- 导航 -->
			<div class="aw-top-nav navbar">
				<div class="navbar-header">
				  <button  class="navbar-toggle pull-left">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				  </button>
				</div>
				<nav role="navigation" class="collapse navbar-collapse bs-navbar-collapse">
				  <ul class="nav navbar-nav">
				  <li><a href="<?php echo url('index/index/index'); ?>" class="<?php if($doaction=="home"){ echo "active";} ?>" ><i class="icon icon-index"></i> 发现</a></li>

					<?php  if($uid>0){ ?>
						<!-- <li><a href="home/"><i class="icon icon-home"></i> 动态</a></li> -->
					<?php }  ?>
					<!-- <li><a href="" class=""><i class="icon icon-list"></i> 发现</a></li> -->
					<li><a href="<?php echo url('index/question/index'); ?>"  class="<?php if($doaction=="question"){ echo "active";} ?>">问题</a></li>
					<li><a href="<?php echo url('index/article/index'); ?>" class="<?php if($doaction=="article"){ echo "active";} ?>">文章</a></li>
					<!-- <li><a href="topic/"><i class="icon icon-topic"></i>话题</a></li> -->
					<?php  if ($uid>0){  ?>
					<li style="display:none;">
						<a href="notifications/" class=""><i class="icon icon-bell"></i> 通知</a>
						<span class="badge badge-important" style="display:none" id="notifications_unread"><?php // // echo $this->user_info['notification_unread']; ?></span>
						<div class="aw-dropdown pull-right hidden-xs">
							<div class="mod-body">
								<ul id="header_notification_list"></ul>
							</div>
							<div class="mod-footer">
								<a href="notifications/">查看全部</a>
							</div>
						</div>
					</li>
					<?php }   ?>
					<!-- <li><a href="help/"> <i class="icon icon-bulb"></i> 帮助</a></li> -->
					<li>
						<a style="font-weight:bold;">· · ·</a>
						<!-- <div class="dropdown-list pull-right">
							<ul id="extensions-nav-list">
								<li><a href="ticket/"><i class="icon icon-order"></i> 工单</a></li>
								<li><a href="project/"><i class="icon icon-activity"></i> 活动</a></li>
							</ul>
						</div> -->
					</li>
				  </ul>
				</nav>
			</div>
			<!-- end 导航 -->
			<!-- 用户栏 -->
			<div class="aw-user-nav">
				<!-- 登陆&注册栏 -->
				<?php  if($uid>0){ ?>
					<a href="people/" style="" class="aw-user-nav-dropdown">
						<img alt="<?php echo $userinfo['user_name']; ?>" src="/uploads/avatar/<?php echo $userinfo['avatar_file']; ?>" />
							<span class="badge badge-important"></span>
					</a>
					<div class="aw-dropdown dropdown-list pull-right" style="">
						<ul class="aw-dropdown-list">
							<li><a href="inbox/"><i class="icon icon-inbox"></i> 私信<span class="badge badge-important collapse" id="inbox_unread">0</span></a></li>
							<li class="hidden-xs"><a href="account/setting/profile/"><i class="icon icon-setting"></i> 设置</a></li>
							<li class="hidden-xs"><a href="<?php echo url('admin/index/index'); ?>"><i class="icon icon-job"></i> 管理</a></li>
							<li><a href="account/logout/"><i class="icon icon-logout"></i></a></li>
						</ul>
					</div>
				<?php  }else{ ?>
					<a class="login btn btn-normal btn-primary" href="<?php echo url('ucenter/user/login'); ?>">登录</a>
					<a class="register btn btn-normal btn-success" href="<?php echo url('ucenter/user/reg'); ?>">注册</a>
				<?php }  ?>	
				<!-- end 登陆&注册栏 -->
			</div>
			<!-- end 用户栏 -->
			<!-- 发起 -->
			<?php if($uid>0){ ?>
			<div class="aw-publish-btn" style="">
				<a id="header_publish" class="btn-primary"href="publish/"><i class="icon icon-ask"></i>发起</a>
				<div class="dropdown-list pull-right">
					<ul>
						<li>
						<a href="<?php echo url('post/publish/question'); ?>">问题</a>
					
						</li>
						<li>
							
						<a href="<?php echo url('post/publish/article'); ?>">文章</a>
						
						</li>
				<!-- <li><a href="ticket/publish/">工单</a></li>
						<li><a href="project/publish/">活动</a></li> -->
				
					</ul>
				</div>
			</div>
			<?php } ?>
			<!-- end 发起 -->
		</div>
	</div>

	<div class="aw-email-verify" style="display:none;">
		<div class="container text-center">
			<a onclick="AWS.ajax_request(G_BASE_URL + '/account/ajax/send_valid_mail/');"></a>
		</div>
	</div>


<div class="aw-container-wrap">
    
   <!--  <div class="container">
        <div class="row">
            <div class="col-sm-12 aw-global-tips">
                
                <div class="alert alert-warning fade in">
                   
                </div>
               
            </div>
        </div>
    </div> -->
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="col-sm-12 col-md-9 aw-main-content">
                    <!-- 话题推荐bar -->
                  <!-- 
                    <div class="aw-notopic-sort">
                      
                        <span class="pull-left">可能属于这些话题&nbsp;:&nbsp;</span>
                        
                        <span class="topic-tag">
                            <a  class="text">topic_title</a>
                        </span>
                        , 都不是? <a href="javascript:;" onclick="$('#question_topic_editor .aw-edit-topic').click();$(this).parents('.aw-notopic-sort').hide();"> 点此添加话题</a>
                      
                      没有归属话题, 请帮问题添加话题 <a href="javascript:;" onclick="$('#question_topic_editor .aw-edit-topic').click(); $(this).parents('.aw-notopic-sort').hide();">点此添加话题</a>
                      
                    </div> -->
                    
                    <!-- 话题推荐bar -->
                    <!-- 话题bar -->
                    <div class="aw-mod aw-topic-bar" id="question_topic_editor" data-type="question" >
                        <div class="tag-bar clearfix">
                            <?php if(is_array($topic) || $topic instanceof \think\Collection): $i = 0; $__LIST__ = $topic;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                            <span class="topic-tag">
                                <a href="topic/<?php echo $v['topic_id']; ?>" class="text"><?php echo $v['topic_title']; ?></a>
                            </span>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                            <!-- <span class="icon-inverse aw-edit-topic" style=""><i class="icon icon-edit"></i></span> -->
                        </div>
                    </div>
                    <!-- end 话题bar -->
                    <div class="aw-mod aw-question-detail aw-item">
                        <div class="mod-head">
                            <h1>
                                <?php echo $question_content; ?>
                            </h1>

                            <?php  if ($uid>0) { ?>
                            <div class="operate clearfix">
                                <a href="javascript:;"  class="follow btn btn-normal btn-success pull-left "><span>关注</span> <em>|</em> <b><?php echo $focus_count; ?></b></a>
                                <!-- 下拉菜单 -->
                                <?php if($uid>0): ?>
                                <div class="btn-group pull-left">
                                    <a class="btn btn-gray dropdown-toggle" data-toggle="dropdown" href="javascript:;">...</a>
                                    <div class="aw-dropdown pull-right" role="menu" aria-labelledby="dropdownMenu">
                                        <ul class="aw-dropdown-list">
                                        <?php if($uid=$userinfo['uid']): ?>
                                            <li>
                                                  <a href="question/">问题讨论</a>
                                            </li>
                                            <li>
                                                <a href="javascript:;" onclick="">锁定问题</a>
                                            </li>
                                            <li>
                                                <a href="javascript:;" >删除问题</a>
                                            </li>
                                        <?php endif; if($group_id==1||$group_id==2): ?>
                                                <li class="hidden-xs">
                                                    <a href="javascript:;" >问题重定向</a>
                                                </li>
                                                
                                                    <li>
                                                        <a href="javascript:;" title="系统记录的 IP 地址为:$this->question_info['ip']">IP 地址</a>
                                                    </li>

                                                    <li>
                                                    <a href="" >推荐问题</a>
                                                 </li>
                                             <?php endif; ?>
                                               
                                             <li>
                                             <a href="javascript:;">添加到帮助中心</a>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <?php endif; ?>
                                <!-- end 下拉菜单 -->
                            </div>
                            <?php  } ?>
                        </div>
                        <div class="mod-body">
                            <div class="content markitup-box" style="min-height:300px;">
                               <?php echo $question_detail; ?>

                            </div>
                           
                            <div class="aw-mod aw-upload-file-list">
                                <!-- <div class="mod-head">
                                    <h3><i class="icon icon-attach"></i> <?php // _e('附件'); ?> :</h3>
                                </div> -->
                               <!--  <div class="mod-body">
                                    <ul>
                                      
                                            <li><a href=""><i class="icon icon-attach"></i> </a></li>
                                      
                                    </ul>
                                </div> -->
                            </div>

                           <!--  <div class="aw-mod aw-question-related-list">
                                <div class="mod-head">
                                    <h3><i class="icon icon-bind"></i> 相关链接 : </h3>
                                </div>
                                <div class="mod-body">
                                    <ul>
                                        
                                        <li><a href="" rel="nofollow" target="_blank"></a> &nbsp; <a class="text-color-999">删除</a></li>
                                       
                                    </ul>
                                </div>
                            </div> -->
                         
                        </div>
                        <div class="mod-footer">
                            <div class="meta">
                                <span class="text-color-999"><?php echo date_friendly($add_time,604800,'Y-m-d'); ?></span>

                                <!-- <a data-id="" data-type="question" class="aw-add-comment text-color-999 "><i class="icon icon-comment"></i>%s 条评论 添加评论</a> -->

                                <!-- <a class="text-color-999 aw-invite-replay"><i class="icon icon-invite"></i>邀请<em class="badge badge-info">546</em></a> -->
                                

                                <a class="text-color-999" href="<?php echo url('post/publish/question'); ?>?id=<?php echo $question_id; ?>"><i class="icon icon-edit"></i>编辑</a>
                                <!-- <a href="question/" class="text-color-999 aw-question-wait-edit"><i class="icon-check"></i>待确认<em class="badge badge-info">546</em></a> -->

                               
                                <!-- <a class="text-color-999 aw-add-question-related hidden-xs"><i class="icon icon-bind"></i> 相关链接</a> -->
                               
                                <div class="pull-right more-operate">
                                  <a data-placement="bottom" title="" data-toggle="tooltip" data-original-title="感谢提问者"  class="aw-icon-thank-tips text-color-999"><i class="icon icon-thank"></i>已感谢</a>
                                    <?php // } ?>

                                    <!-- <a class="text-color-999"  onclick="AWS.dialog('shareOut', {item_type:'question', item_id:<?php // echo $this->question_info['question_id']; ?>});"> -->
                                    <a class="text-color-999 dropdown-toggle" data-toggle="dropdown">
                                        <i class="icon icon-share"></i>分享
                                    </a>
                                    <div aria-labelledby="dropdownMenu" role="menu" class="aw-dropdown shareout pull-right">
                                        <ul class="aw-dropdown-list">
                                            <li><a onclick="AWS.User.share_out({webid: 'tsina', content: $(this).parents('.aw-question-detail').find('.markitup-box')});"><i class="icon icon-weibo"></i> 微博</a></li>
                                            <li><a onclick="AWS.User.share_out({webid: 'qzone', content: $(this).parents('.aw-question-detail')});"><i class="icon icon-qzone"></i> QZONE</a></li>
                                            <li><a onclick="AWS.User.share_out({webid: 'weixin', content: $(this).parents('.aw-question-detail')});"><i class="icon icon-wechat"></i> 微信</a></li>
                                        </ul>
                                    </div>

                                    <?php  if ($uid>0) { ?>
                                    <a href="javascript:;" class="text-color-999" ><i class="icon icon-report"></i>举报</a>
                                    <?php } ?>
                                </div>
                            </div>
                        </div>
                        <!-- 站内邀请 -->
                        <div class="aw-invite-box collapse">
                            <div class="mod-head clearfix">
                                <div class="search-box pull-left">
                                    <input id="invite-input" class="form-control" type="text"  placeholder="搜索你想邀请的人..."/>
                                    <div class="aw-dropdown">
                                        <p class="title">没有找到相关结果</p>
                                        <ul class="aw-dropdown-list"></ul>
                                    </div>
                                    <i class="icon icon-search"></i>
                                </div>
                                <div class="invite-list pull-left<?php // if (!$this->invite_users) { ?> collapse<?php // } ?>">
                                   已邀请
                                    <?php // if ($this->invite_users) { // foreach($this->invite_users as $key => $val) { ?>
                                        <a class="text-color-999 invite-list-user" data-id="<?php // echo $val['uid']; ?>" href="people/<?php // echo $val['url_token']; ?>" data-id="<?php // echo $val['uid']; ?>" data-original-title="<?php // echo $val['user_name']; ?>" data-placement="bottom" data-toggle="tooltip"><img src="<?php // echo get_avatar_url($val['uid'], 'mid'); ?>" /></a>
                                    <?php // } // } ?>
                                </div>
                            </div>
                            <?php // if ($this->helpful_users) { ?>
                            <div class="mod-body clearfix">
                                <ul>
                                    <?php // foreach ($this->helpful_users AS $key => $val) { ?>
                                        <li>
                                            <a class="aw-user-img pull-left" data-id="<?php // echo $val['user_info']['uid']; ?>" href="people/<?php // echo $val['user_info']['url_token']; ?>"><img class="img" alt="" src="<?php // echo get_avatar_url($val['user_info']['uid'], 'mid'); ?>" /></a>
                                            <div class="main">
                                                <?php // if ($val['has_invite']) { ?>
                                                    <a class="pull-right btn btn-mini btn-success active" data-value="<?php // echo $val['user_info']['user_name']; ?>" data-id="<?php // echo $val['user_info']['uid']; ?>" onclick="AWS.User.disinvite_user($(this))">取消邀请</a>
                                                <?php // } else { ?>
                                                    <a class="pull-right btn btn-mini btn-success" data-value="<?php // echo $val['user_info']['user_name']; ?>" data-id="<?php // echo $val['user_info']['uid']; ?>" onclick="AWS.User.invite_user($(this),$(this).parents('li').find('img').attr('src'));"><?php // _e('邀请'); ?></a>
                                                <?php // } ?>

                                                <a class="aw-user-name" data-id="<?php // echo $val['user_info']['uid']; ?>" href="people/<?php // echo $val['user_info']['url_token']; ?>"><?php // echo $val['user_info']['user_name']; // if ($val['user_info']['verified']) { ?><i class="icon-v<?php // if ($val['user_info']['verified'] == 'enterprise') { ?> i-ve<?php // } ?>" title="<?php // if ($val['user_info']['verified'] == 'enterprise') { ?>企业认证<?php // } else { ?>个人认证<?php // } ?>"></i><?php // } ?></a>

                                                <p>

                                                    <?php //在 %s 话题下// _e('', '<span class="topic-tag"><a class="text" data-id="' . $val['experience']['topic_info']['topic_id'] . '" href="topic/' . $val['experience']['topic_info']['url_token'] . '">' . $val['experience']['topic_info']['topic_title'] . '</a></span>'); // _e('获得 %s 个赞同', $val['experience']['agree_count']); ?>
                                                </p>
                                            </div>
                                        </li>
                                    <?php // } ?>
                                </ul>
                            </div>
                            <div class="mod-footer">
                                <a class="next pull-right">&gt;</a> <a class="prev active pull-right">&lt;</a>
                            </div>
                            <?php // } ?>
                        </div>
                        <!-- end 站内邀请 -->
                        <!-- 相关链接 -->
                       <!--  <div class="aw-question-related-box collapse">
                            <form action="publish/ajax/save_related_link/" method="post" onsubmit="return false" id="related_link_form">
                                <div class="mod-head">
                                    <h2>与内容相关的链接</h2>
                                </div>
                                <div class="mod-body clearfix">
                                    <input type="hidden" name="item_id" value="" />
                                    <input type="text" class="form-control pull-left" name="link" value="" />

                                    <a onclick="AWS.ajax_post($('#related_link_form'));" class="pull-left btn btn-success">提交</a>
                                </div>
                            </form>
                        </div> -->
                        <!-- end 相关链接 -->
                    </div>


                    <!-- <div class="aw-mod aw-question-edit"> -->
                        <!-- <div class="mod-head common-head"> -->
                            <!-- <h2><span class="pull-right"><a class="text-color-999" href="question/question_id">返回问题 »</a></span>问题修改日志</h2> -->
                        <!-- </div> -->
                        <!-- <div class="mod-body"> -->
                            <!-- <ul id="c_log_list"></ul> -->
                        <!-- </div> -->
                        <!-- <div class="mod-footer"> -->
                            <!-- 加载更多内容 -->
                            <!-- <a class="aw-load-more-content" id="bp_log_more">
                                <span>更多...</span>
                            </a> -->
                            <!-- end 加载更多内容 -->
                        <!-- </div> -->
                    <!-- </div> -->
                    <div class="aw-mod aw-question-comment">
                       <!--  <div class="mod-head">
                            <ul class="nav nav-tabs aw-nav-tabs active">
                               
                                <li><a href="question/">全部回答</a></li>
                                
                                <li class="active"><a href="question/?uid=focus">关注的人</a></li>
                                <li><a href="question/">时间 <i class="icon icon-down"></i> <i class="icon icon-up"></i></a></li>
                                <li><a href="question/">票数</a></li>
                             

                                <h2 class="hidden-xs">查看单个回答</h2>
                            </ul>
                        </div> -->
                        <div class="mod-body aw-feed-list">

                                <div class="aw-item"  id="answer_list_">
                                    <div class="mod-head">
                                        
                                        <!-- 最佳回答 -->
                                        <!-- <div class="aw-best-answer">
                                            <i class="icon icon-bestbg"></i>
                                        </div> -->
                                        <!-- end 最佳回答 -->
                                       
                                        <!-- <a class="anchor" name="answer_<?php // echo $val['answer_id']; ?>"></a> -->
                                        <!-- 用户头像 -->
                                       <!-- <a class="aw-user-img aw-border-radius-5" href="people/" data-id=""><img src="" alt="" /></a> ?><a class="aw-user-img aw-border-radius-5" href="javascript:;"><img src="/common/avatar-mid-img.png" alt="匿名用户" /></a><?php // } ?> -->
                                        <!-- end 用户头像 -->
                                        <!-- <div class="title">
                                            <p>
                                               
                                                    <a class="aw-user-name" href="people/" data-id="$val['uid']"></a>
                                               
                                                    <a class="aw-user-name" href="javascript:;">匿名用户</a>
                                                
                                                        <i class="icon-venterprise" title="企业认证"></i>
                                                     - <span class="text-color-999"></span>
                                               
                                                    <i class="icon icon-phone"></i>
                                               
                                                    <i class="icon icon-wechat"></i>
                                               
                                            </p>
                                            <p class="text-color-999 aw-agree-by">
                                                :赞同来自

                                                <em class="collapse">、</em><a href="people/" data-id="" class="aw-user-name collapse"></a>
                                                <a href="javascript:;" class="aw-agree-by-show" >更多 »</a>
                                              
                                            </p>
                                        </div> -->
                                    </div>
                                    <div class="mod-body clearfix">
                                        <!-- 评论内容 -->
                                        <!-- <div class="markitup-box">
                                            
                                        </div> -->

                                    
                                      <!--   <div class="aw-upload-img-list">
                                        
                                            <a href="" target="_blank" data-fancybox-group="thumb" rel="lightbox"><img src="" class="img-thumbnail" alt="" /></a>
                                    
                                        </div> -->
                                       

                                      
                                       <!--  <ul class="aw-upload-file-list">
                                                <li><a href=""><i class="icon icon-attach"></i></a></li>
                                        </ul> -->
                                        <!-- end 评论内容 -->
                                    </div>
                                    <div class="mod-footer">
                                        <!-- 社交操作 -->
                                        <div class="meta clearfix">
                                            <span class="text-color-999 pull-right"><?php // echo date_friendly($val['add_time'], 604800, 'Y-m-d'); ?></span>
                                            <!-- 投票栏 -->
                                            <span class="operate">
                                                <a class="agree disabled active" ><i data-placement="right" title="" data-toggle="tooltip" class="icon icon-agree" data-original-title="赞同回复"></i> <b class="count"></b></a>
                                                
                                                <a class="disagree active" ><i data-placement="right" title="" data-toggle="tooltip" class="icon icon-disagree" data-original-title="对回复持反对意见"></i></a>
                                                <?php // } ?>
                                            </span>
                                            <!-- end 投票栏 -->
                                            <span class="operate">
                                                <a class="aw-add-comment"  data-type="answer"  href="javascript:;"><i class="icon icon-comment"></i> </a>
                                            </span>
                                            <!-- 可显示/隐藏的操作box -->
                                           <!--  <div class="more-operate">
                                                
                                                    <a class="text-color-999" href="javascript:;" ><i class="icon icon-edit"></i> 编辑</a>
                                                    
                                                    <a href="javascript:;"  class="text-color-999"><i class="icon icon-fold"></i> 撤消折叠</a>
                                                  
                                                    <a class="aw-icon-thank-tips text-color-999" data-original-title="这是一个没有价值的回复" data-toggle="tooltip" title="" data-placement="bottom" ><i class="icon icon-fold"></i>撤消没有帮助</a>
                                                    
                                                    <a href="javascript:;"  class="text-color-999"><i class="icon icon-favor"></i> 收藏</a>
                                             

                                               
                                                <a href="javascript:;"  class="aw-icon-thank-tips text-color-999" data-original-title="感谢热心的回复者" data-toggle="tooltip" title="" data-placement="bottom"><i class="icon icon-thank"></i> 已感谢</a>
                                               
                                                <div class="btn-group pull-left">
                                                    <a class="text-color-999 dropdown-toggle" data-toggle="dropdown">
                                                        <i class="icon icon-share"></i> 分享
                                                    </a>
                                                    <div aria-labelledby="dropdownMenu" role="menu" class="aw-dropdown shareout pull-right">
                                                        <ul class="aw-dropdown-list">
                                                            <li><a onclick="AWS.User.share_out({webid: 'tsina', title: $(this).parents('.aw-item').find('.markitup-box').text()});"><i class="icon icon-weibo"></i> 微博</a></li>
                                                            <li><a onclick="AWS.User.share_out({webid: 'qzone', title: $(this).parents('.aw-item').find('.markitup-box').text()});"><i class="icon icon-qzone"></i> QZONE</a></li>
                                                            <li><a onclick="AWS.User.share_out({webid: 'weixin', title: $(this).parents('.aw-item').find('.markitup-box').text()});"><i class="icon icon-wechat"></i> 微信</a></li>
                                                        </ul>
                                                    </div>
                                                </div>
                                               
                                                <a href="javascript:;"  class="text-color-999"><i class="icon icon-best"></i>最佳回复</a>
                                               
                                            </div> -->
                                            <!-- end 可显示/隐藏的操作box -->

                                        </div>
                                        <!-- end 社交操作 -->
                                    </div>
                                </div>
                                <?php // } // } ?>
                        </div>
                        <div class="mod-footer">
                            <?php // if ($_GET['single']) { ?>
                                <a href="question/<?php // echo $this->question_info['question_id']; ?>" class="aw-load-more-content">
                                    <span>查看全部回答</span>
                                </a>
                            <?php // } else { ?>
                                <div class="aw-load-more-content collapse" id="load_uninterested_answers">
                                    <span class="text-color-999 aw-alert-box text-color-999" href="javascript:;" tabindex="-1" onclick="被折叠的回复是被你或者被大多数用户认为没有帮助的回复">为什么被折叠</span>
                                    <a href="javascript:;" class="aw-load-more-content"><?php // _e('%s 个回复被折叠', '<span class="hide_answers_count">0</span>'); ?></a>
                                </div>

                                <div class="collapse aw-feed-list" id="uninterested_answers_list"></div>
                            <?php // } ?>
                        </div>

                        <?php // if ($this->pagination) { ?>
                            <div class="clearfix"><?php // echo $this->pagination; ?></div>
                        <?php // } ?>
                    </div>
                    <?php // } ?>
                    <!-- end 问题详细模块 -->


                
                    <!-- 回复编辑器 -->
                    <div class="aw-mod aw-replay-box question">
                    <?php if($userinfo['uid']>0): ?>
                        <!-- <a name="answer_form"></a>
                        <p align="center">该问题目前已经被锁定, 无法添加新回复')</p>
                        <p align="center">一个问题只能回复一次
                        你可以在发言后 %s 分钟内编辑回复过的内容></p>
                  
                        <p align="center">不能回复自己发布的问题, 你可以修改问题内容</p> -->
                     <?php else: ?>
                        <p align="center">要回复问题请先<a href="account/login/">登录</a>或<a href="account/register/">注册</a></p>
                    <?php endif; if($userinfo['uid']>0): ?>
                        <form action="question/ajax/save_answer/" onsubmit="return false;" method="post" id="answer_form" class="question_answer_form">
                        <input type="hidden" name="post_hash" value="<?php // echo new_post_hash(); ?>" />
                        <input type="hidden" name="question_id" value="<?php // echo $this->question_info['question_id']; ?>" />
                        <input type="hidden" name="attach_access_key" value="<?php // echo $this->attach_access_key; ?>" />
                        <div class="mod-head">
                            <a href="people/" class="aw-user-name"><img alt="<?php // echo $this->user_info['user_name']; ?>" src="<?php // echo get_avatar_url($this->user_info['uid'], 'mid'); ?>" /></a>
                            <p>
                               
                                <label class="pull-right">
                                    <input type="checkbox" value="1" name="anonymous" /> 匿名回复
                                </label>
                               
                                <label class="pull-right">
                                    <input type="checkbox" checked="checked" value="1" name="auto_focus" /> 关注问题
                                </label>
                                <?php // } ?>
                                <label class="pull-right">
                                   <a href="integral/rule/" target="_blank">积分规则</a>
                                </label>
                              
                            </p>
                        </div>
                        <div class="mod-body">
                            <div class="aw-mod aw-editor-box">
                                <div class="mod-head">
                                    <div class="wmd-panel">
                                       <textarea class="wmd-input form-control autosize editor" id="wmd-input" rows="15" name="answer_content"><?php // echo htmlspecialchars($this->draft_content['message']); ?></textarea>
                                    </div>
                                </div>
                                <div class="mod-body clearfix">
                                    <?php // if ($this->human_valid) { ?>
                                    <div class="aw-auth-img clearfix">
                                            <input class="pull-right form-control" type="text" name="seccode_verify" placeholder="<?php // _e('验证码'); ?>" />
                                            <em class="auth-img pull-right"><img src="" onclick="this.src = G_BASE_URL + '/account/captcha/' + Math.floor(Math.random() * 10000);" id="captcha" /></em>
                                    </div>
                                    <?php // } ?>
                                    <a href="javascript:;" onclick="AWS.ajax_post($('#answer_form'), AWS.ajax_processer, 'reply_question');" class="btn btn-normal btn-success pull-right btn-reply">回复</a>
                                    <span class="pull-right text-color-999" id="answer_content_message">&nbsp;</span>
                                    <?php // if (get_setting('upload_enable') == 'Y') { ?>
                                    <div class="aw-upload-box">
                                        <a class="btn btn-default">上传附件</a>
                                        <div class="upload-container"></div>
                                        <span class="text-color-999 aw-upload-tips hidden-xs">允许 : </span>
                                    </div>
                                    <?php // } ?>
                                </div>
                            </div>

                        </div>
                        </form>
                          <?php endif; ?>
                    </div>
                    <!-- end 回复编辑器 -->
                

                

                </div>
                <!-- 侧边栏 -->
                <div class="col-md-3 aw-side-bar hidden-xs hidden-sm">
                    <!-- 发起人 -->
                    <?php // if ($this->question_info['anonymous'] == 0) { ?>
                    <div class="aw-mod">
                        <div class="mod-head">
                            <h3>发起人</h3>
                        </div>
                        <div class="mod-body">
                            <dl>
                                <dt class="pull-left aw-border-radius-5">
                                    <a href="people/"><img alt="<?php echo $user_name; ?>" src="/uploads/avatar/<?php echo $avatar_file; ?>" /></a>
                                </dt>
                                <dd class="pull-left">
                                    <a class="aw-user-name" href="people"><?php echo $user_name; ?></a>
                                   
                                        <!-- <i class="icon-v" title="个人认证"></i> -->
                                   
                                    
                                    <a class="icon-inverse follow tooltips icon icon-plus  active"  data-original-title="取消关注">取消关注</a>
                                    
                                    <p><?php echo $signature; ?></p>
                                </dd>
                            </dl>
                        </div>
                    </div>
                    <!-- end 发起人 -->

                    <?php  if ($uid>0) { ?>
                    <!-- 邀请别人回复 -->
                    <div class="aw-mod email-invite-replay">
                        <div class="mod-head">
                            <h3>邮件邀请别人回复</h3>
                        </div>
                        <div class="mod-body clearfix">
                            <!-- 侧边栏邀请box -->
                            <form method="post" action="question/ajax/email_invite/question_id-" onsubmit="return false;" id="email_invite_form">
                                <input class="form-control" type="text" name="email" placeholder="邮件邀请回复..."/>
                                <a class="pull-right btn btn-mini btn-success" onclick="AWS.ajax_post($('#email_invite_form'));">邀请</a>
                            </form>
                            <!-- end 侧边栏邀请box -->
                        </div>
                    </div>
                    <!-- end 邀请别人回复 -->
                    <?php  } ?>

               
                    <!-- 推荐内容 -->
                    <div class="aw-mod">
                        <div class="mod-head">
                            <h3>推荐内容</h3>
                        </div>
                        <div class="mod-body font-size-12">
                            <ul>
                              
                                <li>
                                    
                                    <a href="question/">question_content</a>
                                 
                                    
                                </li>
                               
                            </ul>
                        </div>
                    </div>
                    <!-- end 推荐内容 -->
              

        
                    <!-- 相关问题 -->
                    <div class="aw-mod">
                        <div class="mod-head">
                            <h3>相关问题</h3>
                        </div>
                        <div class="mod-body font-size-12">
                            <ul>
                                
                                <li><a href="question/">question_content</a></li>
                                
                            </ul>
                        </div>
                    </div>
                    <!-- end 相关问题 -->
                    <?php // } ?>

                    <!-- 问题状态 -->
                    <div class="aw-mod question-status">
                        <div class="mod-head">
                            <h3>问题状态</h3>
                        </div>
                        <div class="mod-body">
                            <ul>
                                <li>最新活动: <span class="aw-text-color-blue"><?php echo $update_time; ?></span></li>
                                <li>浏览: <span class="aw-text-color-blue"><?php echo $view_count; ?></span></li>
                                <li>关注: <span class="aw-text-color-blue"><?php echo $focus_count; ?></span> 人</li>

                                <li class="aw-border-radius-5" id="focus_users"></li>
                            </ul>
                        </div>
                    </div>
                    <!-- end 问题状态 -->
                </div>
                <!-- end 侧边栏 -->
            </div>
        </div>
    </div>
</div>
<?php die; ?>
<div class="aw-footer-wrap">
	<div class="aw-footer">
		Copyright © <?php // echo date('Y'); // if(get_setting('icp_beian')){ ?><span class="hidden-xs"> - <?php // echo get_setting('icp_beian'); // } ?>, All Rights Reserved</span>

		<span class="hidden-xs">Powered By <a href="http://www.5ihelp.com" target="blank">5ihelp </a>感谢Wecenter提供站点框架支持</span>

		<?php // if (is_mobile(true)) { ?>
			<div class="container">
				<div class="row">
					<p align="center"><?php // _e('版本切换'); ?>: <b><?php // _e('PC 版'); ?></b> | <a href="m/ignore_ua_check-FALSE"><?php // _e('手机版'); ?></a></p>
				</div>
			</div>
		<?php // } ?>
	</div>
</div>

<a class="aw-back-top hidden-xs" href="javascript:;" onclick="$.scrollTo(1, 600, {queue:true});"><i class="icon icon-up"></i></a>



<!-- DO NOT REMOVE -->
<div id="aw-ajax-box" class="aw-ajax-box"></div>

</body>
</html>
